import baseModel from './baseModel';

class riskTabModel extends baseModel {

    constructor(options) {
            super(options)
        }
        // projectId, currentPage, pageSize 
    queryList(data) {
        let url = `/api/risk-tb/query`;
        return this.$get(url, data)
    }

    //搜索框
    querySearch(data) {
            let url = `/api/risk-tb/search`;
            return this.$post(url, data)
        }
        //报警记录
    queryAlarmRecord(data) {
        let url = `/api/alarm-point/query`;
        return this.$get(url, data)
    }

    queryByUser(data) {
        let url = `/api/alarm-point/queryByUser`;
        return this.$get(url, data)
    }
}

export default riskTabModel;